<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
	<!-- edit-page.html -->
	<tal:block tal:content="structure this/silkHead"/>
    </head>

    <body>
	<div class="silk-cms-container">
 	    <tal:block tal:content="structure php:this.renderPartial('common/header')" tal:on-error="string:Template Failed to Render (common/header)"/>

	    <div class="silk-cms-subheader ui-widget ui-widget-content">
		<h3><tal:block i18n:translate="string:Add"/> <tal:block tal:content="php:object.getType().name"/></h3>
	    </div>
	    <div class="silk-cms-content"  tal:define="form object/getForm" >

		<form method="post">

		    <div class="silk-cms-tabs">
			<ul class="tabs">
			    <li><a href="#object-content" i18n:translate="string:Content"></a></li>
			    <li><a href="#object-permissions" i18n:translate="string:Permissions"></a></li>
			</ul>
			<div id="object-content" tal:content="structure php:this.renderPartial('_object-content', array('object' => object))"></div>
			<div id="object-permissions" tal:content="structure php:this.renderPartial('_object-permissions', array('object' => object))"></div>
		    </div>

		    <div class="silk-cms-form-buttons">
			<input type="submit" name="submit" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" i18n:attributes="value Cancel"/>
			<input type="submit" name="submit" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" i18n:attributes="value Save"/>
		    </div>
		</form>

	    </div>

 	    <tal:block tal:content="structure php:this.renderPartial('common/footer')" tal:on-error="string:Template Failed to Render (common/footer)"/>
	</div>
    </body>
</html>